﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类CHARGE_INFO
     ///</summary>
     public class CHARGE_INFO
     {
         private string __SFLSH=string.Empty ;
         private int __ID=0 ;
         private string __JCLSH=string.Empty ;
         private string __HPHM=string.Empty ;
         private string __HPZL=string.Empty ;
         private string __HPZLDH=string.Empty ;
         private string __SFZL=string.Empty ;
         private string __SFZLDH=string.Empty ;
         private string __TFLSH=string.Empty ;
         private string __SFXM=string.Empty ;
         private decimal? __SFZJE=null ;
         private string __SFY=string.Empty ;
         private DateTime? __SFRQ=null ;
         private string __SYBZ=string.Empty ;
         private DateTime? __SYRQ=null ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public CHARGE_INFO()
         {
             this.__Changed.Add("SFLSH",false);
             this.__Changed.Add("ID",false);
             this.__Changed.Add("JCLSH",false);
             this.__Changed.Add("HPHM",false);
             this.__Changed.Add("HPZL",false);
             this.__Changed.Add("HPZLDH",false);
             this.__Changed.Add("SFZL",false);
             this.__Changed.Add("SFZLDH",false);
             this.__Changed.Add("TFLSH",false);
             this.__Changed.Add("SFXM",false);
             this.__Changed.Add("SFZJE",false);
             this.__Changed.Add("SFY",false);
             this.__Changed.Add("SFRQ",false);
             this.__Changed.Add("SYBZ",false);
             this.__Changed.Add("SYRQ",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__SFLSH =string.Empty;
             this.__ID =0;
             this.__JCLSH =string.Empty;
             this.__HPHM =string.Empty;
             this.__HPZL =string.Empty;
             this.__HPZLDH =string.Empty;
             this.__SFZL =string.Empty;
             this.__SFZLDH =string.Empty;
             this.__TFLSH =string.Empty;
             this.__SFXM =string.Empty;
             this.__SFZJE =null;
             this.__SFY =string.Empty;
             this.__SFRQ =null;
             this.__SYBZ =string.Empty;
             this.__SYRQ =null;
             this.__Changed["SFLSH"] = false;
             this.__Changed["ID"] = false;
             this.__Changed["JCLSH"] = false;
             this.__Changed["HPHM"] = false;
             this.__Changed["HPZL"] = false;
             this.__Changed["HPZLDH"] = false;
             this.__Changed["SFZL"] = false;
             this.__Changed["SFZLDH"] = false;
             this.__Changed["TFLSH"] = false;
             this.__Changed["SFXM"] = false;
             this.__Changed["SFZJE"] = false;
             this.__Changed["SFY"] = false;
             this.__Changed["SFRQ"] = false;
             this.__Changed["SYBZ"] = false;
             this.__Changed["SYRQ"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[SFLSH]的数据
         /// </summary>
         public string SFLSH
         {
              set{ __SFLSH = value.Replace("'","’"); __Changed["SFLSH"] = true;}
              get{return __SFLSH;}
         }
         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
         /// <summary>
         ///设置或获取类中的[HPHM]的数据
         /// </summary>
         public string HPHM
         {
              set{ __HPHM = value.Replace("'","’"); __Changed["HPHM"] = true;}
              get{return __HPHM;}
         }
         /// <summary>
         ///设置或获取类中的[HPZL]的数据
         /// </summary>
         public string HPZL
         {
              set{ __HPZL = value.Replace("'","’"); __Changed["HPZL"] = true;}
              get{return __HPZL;}
         }
         /// <summary>
         ///设置或获取类中的[HPZLDH]的数据
         /// </summary>
         public string HPZLDH
         {
              set{ __HPZLDH = value.Replace("'","’"); __Changed["HPZLDH"] = true;}
              get{return __HPZLDH;}
         }
         /// <summary>
         ///设置或获取类中的[SFZL]的数据
         /// </summary>
         public string SFZL
         {
              set{ __SFZL = value.Replace("'","’"); __Changed["SFZL"] = true;}
              get{return __SFZL;}
         }
         /// <summary>
         ///设置或获取类中的[SFZLDH]的数据
         /// </summary>
         public string SFZLDH
         {
              set{ __SFZLDH = value.Replace("'","’"); __Changed["SFZLDH"] = true;}
              get{return __SFZLDH;}
         }
         /// <summary>
         ///设置或获取类中的[TFLSH]的数据
         /// </summary>
         public string TFLSH
         {
              set{ __TFLSH = value.Replace("'","’"); __Changed["TFLSH"] = true;}
              get{return __TFLSH;}
         }
         /// <summary>
         ///设置或获取类中的[SFXM]的数据
         /// </summary>
         public string SFXM
         {
              set{ __SFXM = value.Replace("'","’"); __Changed["SFXM"] = true;}
              get{return __SFXM;}
         }
         /// <summary>
         ///设置或获取类中的[SFZJE]的数据
         /// </summary>
         public decimal? SFZJE
         {
              set{ __SFZJE = value; __Changed["SFZJE"] = true;}
              get{return __SFZJE;}
         }
         /// <summary>
         ///设置或获取类中的[SFY]的数据
         /// </summary>
         public string SFY
         {
              set{ __SFY = value.Replace("'","’"); __Changed["SFY"] = true;}
              get{return __SFY;}
         }
         /// <summary>
         ///设置或获取类中的[SFRQ]的数据
         /// </summary>
         public DateTime? SFRQ
         {
              set{ __SFRQ = value; __Changed["SFRQ"] = true;}
              get{return __SFRQ;}
         }
         /// <summary>
         ///设置或获取类中的[使用标志]的数据
         /// </summary>
         public string SYBZ
         {
              set{ __SYBZ = value.Replace("'","’"); __Changed["SYBZ"] = true;}
              get{return __SYBZ;}
         }
         /// <summary>
         ///设置或获取类中的[SYRQ]的数据
         /// </summary>
         public DateTime? SYRQ
         {
              set{ __SYRQ = value; __Changed["SYRQ"] = true;}
              get{return __SYRQ;}
         }
    }
}
